package cn.edu.nwpu.warehousemanagement.pojo.dto;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 带ShelfIdDTO和PageNumDTO的DTO
 */
@Data
public class ShelfIdWithPageDTO {
    @NotNull(message = "货架ID不能为空")
    private IDDTO shelfIdDTO;

    @Valid
    private PageDTO pageDTO;
}
